package edu.utexas.mapreduce;

public class Task {

	private int id;
	private TaskState state;
	private String owner;

	public Task(int id) {
		this.id = id;
		this.state = TaskState.IDLE;
		this.owner = "";
	}

	int getID() {
		return id;
	}
	
	String getOwner() {
		return owner;
	}

	TaskState getState() {
		return state;
	}

	void setOwner(String o) {
		owner = o;
	}

	void setState(TaskState s) {
		state = s;
	}
}